package com.boang.entity.PO;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @TableName guardbooth
 */
@TableName(value = "guardbooth")
@Data
public class Guardbooth {

    /**
     * 主键
     */
    @TableField(value = "id" )

    private Integer id;

    private String boothNumber;

    private String boothName;

    private String parkingLot;

    private Integer tempCarEntry;

    private Integer tempCarApproval;

    private Integer isCharging;

    private String remarks;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtCreate;
    @TableField(value = "gmt_modified", fill = FieldFill.UPDATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gmtModified;
    @TableLogic
    private Integer isDeleted;
    @TableField(exist = false)
    private int pageNum;
    @TableField(exist = false)
    private int pageSize;
}